import request from "@/utils/request";

/**
 * 获取分类树
 */
export const getList = (search) => {
    return request({
        url: `/mall/tenant/category/getcategoryList?search=${search}`,
        method: "get",
    });
}
/**
 * 添加分类
 */
export const addClassify = (data) => {
    console.log(111,data)
    return request({
        url: `/mall/tenant/categoryAudit/save`,
        method: "post",
        data
    });
}
/**
 * 获取审核列表
 */
export const auditList = (data) => {
    return request({
        url: `/mall/tenant/categoryAudit/pageList`,
        method: "post",
        data
    });
}